package skewreduce.lib;

public class DefaultKDTreeNode
extends Point3D
implements KDTreeNode<DefaultKDTreeNode> {
    DefaultKDTreeNode l;
    DefaultKDTreeNode r;

    public DefaultKDTreeNode(IPoint3D p) { super(p); }

    public boolean isLeaf() { return l == null && r == null; }
    public DefaultKDTreeNode getLeft() { return l; }
    public DefaultKDTreeNode getRight() { return r; }
    public void setLeft(DefaultKDTreeNode o) { l = o; }
    public void setRight(DefaultKDTreeNode o) { r = o; }

    public void leave() {}
}
